<?php
include_once('class/autoload.php');

$site = new page_base('inscription');
$site->titre = "Inscription des élèves";
$site->corps = 
		"Sur cette page, vous pouvez inscrire vos &eacute;l&egrave;ves pour le CROSS USEP :

			<form id='formID' class='formular' method='post' action='Traitement.php'>
				<fieldset>
					<legend>Utilisateur</legend>

					<label>
					<span>Nom : </span><br>
					<input class='validate[required,custom[onlyLetter],length[0,100]] text-input' type='text' name='firstname' id='firstname' />
					</label><br>

					<label>
					<span>Pr&eacute;nom : </span><br>
					<input class='validate[required,custom[onlyLetter],length[0,100]] text-input' type='text' name='lastname' id='lastname' />
					</label><br>

					<label>
					<span>Sexe : <br /></span>
					<input class='validate[required] radio' type='radio'  name='radiogoupe'  id='radio1'  value='5'>
					<span class='radio button'>Gar&ccedil;on  </span>
					<input class='validate[required] radio' type='radio' name='radiogoupe'  id='radio2'  value='3'>
					<span>Fille </span>					
					</label><br>

					<label>
					<span>Date de Naissance: (format YYYY-MM-DD)</span>
					<input class='validate[required,custom[date]] text-input' type='text' name='date'  id='date' />
					</label><br>

					<label>
					<span>Catégorie de la course :</span>
					<input class='validate[required] radio' type='radio'  name='categ'  id='radio1'  value='5'>
					<span class='radio button'> A	</span>
					<input class='validate[required] radio' type='radio'  name='categ'  id='radio1'  value='5'>
					<span class='radio button'> B	</span>
					</label><br>
				</fieldset>

				<fieldset>
					<legend>Documents</legend>
					<div class='infos'>Pour que l'&eacute;l&egrave;ve soit inscrit, il lui faut une autorisation parentale et un certificat m&eacute;dical ou une licence sportive</div>

					<label>
					<span class='checkbox'>Autorisation parentale : </span>
					<input class='validate[required] checkbox' type='checkbox'  id='agree'  name='agree1'/><br>
					<span class='checkbox'>Certificat m&eacute;dical : </span>
					<input class='validate[required] checkbox' type='checkbox'  id='agree'  name='agree2'/><br>
					<span class='checkbox'>Licence sportive : </span>
					<input class='validate[required] checkbox' type='checkbox'  id='agree'  name='agree3'/>
					</label>
				</fieldset>
				<p><input class='submit' type='submit' value='Valider' name='valid'/></p>
				<hr/>
			</form>";



$site->affiche();
?>